package cn.zymall.user;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author xuxianda
 * @Description: 用户启动类
 * @date 2020/8/16 19:51
 * @Copyright
 * @return
 **/

@MapperScan("cn.zymall.user.mapper")
@ComponentScan("cn.zymall.common.controller")
@ComponentScan("cn.zymall.common.model")
@ComponentScan("cn.zymall.common.config.druid")
@ComponentScan("cn.zymall.common.config.myBatisPlus")
@ComponentScan("cn.zymall.common.config.redis")
@ComponentScan("cn.zymall.common.utils")
@ComponentScan("cn.zymall.user")
@ComponentScan("cn.zymall.common.config.cross")
@EnableEurekaClient
@EnableFeignClients("cn.zymall.common.feign")
@ComponentScan("cn.zymall.common.config.feign")
@SpringBootApplication
public class User8001Application {


    public static void main(String[] args) {
        SpringApplication.run(User8001Application.class, args);
    }

}
